package com.pkk.cloud.support.admin.oauth2.api;

import com.pkk.cloud.support.admin.oauth2.api.admin.AdminApiHystrix;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @description: 是否启用admin的资源请求api
 * @author: peikunkun
 * @create: 2020-03-18 13:33
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@EnableFeignClients(basePackages = {"com.pkk.cloud.support.admin.oauth2.api"})
@Import(AdminApiHystrix.class)
public @interface EnableAdminApi {
}
